
import Home from './components/Home.vue';
import User from './components/user';
import News from './components/new';
import Cate1 from './components/cate/Cate1.vue';
import Cate2 from './components/cate/Cate2.vue';
import Product from './components/product/product.vue';
import Comment from './components/comment/comment.vue';
import Upload from './components/upload';


export const routes=[
    { path:'/',component:Home },
    { path:'/user',component:User},
    { path:'/news',component:News,name:'news'},
    { path:'/cate1',component:Cate1},
    { path:'/cate2',component:Cate2},   
    { path:'/product',component:Product},
    { path:'/comment',component:Comment,name:'comment'},
    { path:'/upload',component:Upload} 
]